<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');
if ( ! function_exists('t'))
{
	function t($line, $id = '')
	{
		$CI =& get_instance();
        $l = $line;
		$line = $CI->lang->line($line);

		if ($id != '')
		{
			$line = '<label for="'.$id.'">'.$line."</label>";
		}
        if (!$line) return $l;
		return $line;
	}
}

